import { getUserTokenInfo } from '../../utils/auth';
import request from '@/utils/request'

/**
 * 查询当前用户存在的审批节点
 */

export function getAllApprovalNode() {
	const userDid=getUserTokenInfo().PhoneNumberCredential.userDid
	return request({
		url: `/organization/staffInfo/getAllApprovalNode/${userDid}`,
		method: 'GET',
	})
}